scale

Scales the transformation matrix by a given factor.

Return

A new affine transformation matrix with the scaling applied.

Parameters

factor

The scaling factor.


Scales the transformation matrix by a given vector.

Return

A new affine transformation matrix with the scaling applied.

Parameters

factor

The vector containing the scaling factor for the x-coordinate.